package com.bishe.demo.modules.common.dao;

import com.bishe.demo.modules.common.entity.BaiduMapCity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Repository;

/**
 * @Description BaiduMapCity
 * @Author Lubb
 * @Date 2021/4/2 15:59
 */
@Repository
@Mapper
public interface BaiduMapCityDao {

    @Update("update common_city set longitude = #{longitude}, latitude = #{latitude} where name = #{baiduMapCityName}")
    void updateCityCoordinate(BaiduMapCity baiduMapCity);
}
